package app.vendorportal.api.data.response;

import app.vendorportal.api.data.WarehouseStatusInfo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Bribin
 */
@XmlRootElement(name = "query-all-warehouse-status-response")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryAllWarehouseStatusResponse {

    @XmlElementWrapper(name = "warehouse-status-info-list")
    @XmlElement(name = "warehouse-status-info")
    private final List<WarehouseStatusInfo> warehouseStatusInfos = new ArrayList<WarehouseStatusInfo>();

    public List<WarehouseStatusInfo> getWarehouseStatusInfos() {
        return warehouseStatusInfos;
    }

}
